package com.paas.form.service;


import com.bpm.feign.model.ProcessCmd;
import com.paas.common.model.BaseUserInfo;
import com.paas.common.model.RestResponse;
import com.paas.form.dto.FormViewPubChangeDto;

/**
 * 视图变更接口
 */
public interface IViewChangeService {

    public RestResponse saveViewPubChangeInfo(FormViewPubChangeDto formViewPubChangeDto, ProcessCmd processCmd, BaseUserInfo baseUserInfo);

    FormViewPubChangeDto getViewPubChangeDtoById(String logId);

    /**
     * 视图变更审批反对操作
     * @param changeId
     * @return
     */
    RestResponse opposeViewChange(String changeId);

    /**
     * 视图变更审批通过操作
     * @param changeId
     * @return
     */
    RestResponse approvalViewChange(String changeId);

}
